package com.ColonyCount;

import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

public class Preferences {
	public static int getMaxImageWidth(Context context)
	{
		SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
		  
		String s = prefs.getString("maxImageWidth", "800");
		int i  = Integer.parseInt(s);
		
		return i;
	}
}
